import React from 'react'
import { Link, Outlet } from 'react-router-dom'

export default function Message() {
    return (
        <div>
            <ul>
                <li>
                    <Link to="description/1/params测试">params参数</Link>&nbsp;&nbsp;
                </li>
                <li>
                    <Link href="/message2">message002</Link>&nbsp;&nbsp;
                </li>
                <li>
                    <Link href="/message/3">message003</Link>&nbsp;&nbsp;
                </li>
            </ul>
            <div>
                {/* 三级路由组件展示位置 */}
                <Outlet />
            </div>
        </div>
    )
}
